<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class ActiveLocation extends Model
{
    protected $table="active_detail";
    //查询位置经纬度
    public static function activeLocation($id){
        return self::where("active_id",$id)->find();
    }
}
